package com.jeasonzhao.commons.json;

public class JSONSymbol extends JSONNode
{
    private static final long serialVersionUID = 1L;
    private String m_str = null;
    public JSONSymbol(String str)
    {
        super(JSONNodeTypes.SYMBOL);
        m_str = str;
    }

    public String getSymbol()
    {
        return m_str;
    }

    public String toJSON(boolean isFullMode,int nLevel)
    {
        return m_str == null ? "" : m_str;
    }
}
